By using Task Scheduler, you can schedule tasks (such as Disk Defragmenter) to run at a time that is most convenient for you. Task Scheduler starts each time you start Windows, and runs in the background.
With Task Scheduler, you can:
Schedule a task to run daily, weekly, monthly, or at certain times (such as system startup).